//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of your Microsoft Windows CE
// Source Alliance Program license form.  If you did not accept the terms of
// such a license, you are not authorized to use this source code.
//
//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2003 Intrinsyc Europe Ltd.
//////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2004 Siemens AG
//
// Version: 1.1.2.5
// Date:    11. Jan. 2006
//////////////////////////////////////////////////////////////////////////////
//
//
// (C) Copyright 2007 Marvell International Ltd.
//  All Rights Reserved
//

#define AUDIO_PROFILES_LINES       65
#define AUDIO_PROFILES_LINE_LENGTH (80 + 1)   // last bytes is "\0"

extern const DWORD dwProfilesLines;
extern const DWORD dwProfilesLastLineLength;
extern const char szProfilesData[AUDIO_PROFILES_LINES][AUDIO_PROFILES_LINE_LENGTH];

/*
 Debug Zones.
 */
#ifdef DEBUG_FILE

// Redirect debug to a file
#undef DEBUGMSG
#define DEBUGMSG(a, printf_exp) ((void)((a)?(DbgWrite printf_exp),1:0))

#define ZONE_INIT		1
#define ZONE_OPEN		1
#define ZONE_READ		1
#define ZONE_WRITE		1
#define ZONE_CLOSE		1
#define ZONE_IOCTL		1
#define ZONE_THREAD		1
#define ZONE_EVENTS		1
#define ZONE_CRITSEC	1
#define ZONE_FLOW		1
#define ZONE_IR			1
#define ZONE_USR_READ	1
#define ZONE_ALLOC		1
#define ZONE_FUNCTION	1
#define ZONE_WARN		1
#define ZONE_ERROR		1

#else	// DEBUG_FILE

#ifdef DEBUG

#define ZONE_INIT		DEBUGZONE(0)
#define ZONE_OPEN		DEBUGZONE(1)
#define ZONE_READ		DEBUGZONE(2)
#define ZONE_WRITE		DEBUGZONE(3)
#define ZONE_CLOSE		DEBUGZONE(4)
#define ZONE_IOCTL		DEBUGZONE(5)
#define ZONE_THREAD		DEBUGZONE(6)
#define ZONE_EVENTS		DEBUGZONE(7)
#define ZONE_CRITSEC	DEBUGZONE(8)
#define ZONE_FLOW		DEBUGZONE(9)
#define ZONE_IR			DEBUGZONE(10)
#define ZONE_USR_READ	DEBUGZONE(11)
#define ZONE_ALLOC		DEBUGZONE(12)
#define ZONE_FUNCTION	DEBUGZONE(13)
#define ZONE_WARN		DEBUGZONE(14)
#define ZONE_ERROR		DEBUGZONE(15)
#else

#ifdef FORCE_RETAIL_DEBUG
// As Merlin & Stinger do not support debug change to using retail msgs
#undef DEBUGMSG
#define DEBUGMSG RETAILMSG
#define ZONE_INIT		1
#define ZONE_OPEN		0
#define ZONE_READ		0
#define ZONE_WRITE		0
#define ZONE_CLOSE		0
#define ZONE_IOCTL		0
#define ZONE_THREAD		0
#define ZONE_EVENTS		0
#define ZONE_CRITSEC	0
#define ZONE_FLOW		0
#define ZONE_IR			0
#define ZONE_USR_READ	0
#define ZONE_ALLOC		0
#define ZONE_FUNCTION	1
#define ZONE_WARN		1
#define ZONE_ERROR		1
#endif

#endif

#endif // DEBUG_FILE
